import { createStore } from "vuex";

const store = createStore({
    state(){
        return {
            count:6
        }
    },
    getters: {
        tenTimes:(state) => {
            return state.count *10
        }
    },
    mutations: {
        increment (state,playlaod) {
            state.count = playlaod.count
        }
    },
})



export default store;